<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>这是</title>
		<link rel="stylesheet" type="text/css" href="{$webSite}public/css/base.css"/>
	</head>
	<style>
		/*******	主体导航栏  a_head_main 	**********/
		.a_head_main{
			/* width:1000px; */
			width:82%;
			min-height:650px;
			float:left;
			margin-left:180px;
			margin-top:120px;
		}
		.main_site1_head{
			/* width:1000px; */
			width:100%;
			height:50px;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			font-size:16px;
			font-weight:bold;
			color:#09C;
		}
		
		.main_site1_head2{
			/* width:1000px; */
			width:100%;
			height:35px;
			background:#F3F8FD;
			border-bottom:1px #DEEFFB solid;
			line-height:35px;
			font-size:14px;
			font-weight:bold;
			color:#09C;
		}
		.main_site2_head3{
			/* width:1000px; */
			width:100%;
			height:40px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			
		}
		.main_site2_form_head{
			/* width:1000px; */
			width:100%;
			height:40px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			
		}
		.main_site2_form_head .div1{
			width:80px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:40px;
			font-size:14px;
			font-weight:bold;
			
		}
		.main_site2_form_head .div1 span{
			font-size:12px;
			font-weight:100;
			color:#F60;
		}
		.main_site2_form_head .div2{
			width:80px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:20px;
			font-size:14px;
			font-weight:bold;
			
		}
		.main_site2_form_head .div3{
			width:80px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:70px;
			font-size:14px;
			font-weight:bold;
			
		}
		.main_site2_form_head .div4{
			width:110px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:100px;
			font-size:14px;
			font-weight:bold;
			
		}
		.main_site2_form_head .div5{
			width:120px;
			height:40px;
			text-align:center;
			float:left;
			margin-left:160px;
			font-size:14px;
			font-weight:bold;
			
		}
		.main_site2_form_body{
			/* width:1000px; */
			width:100%;
			height:40px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
			
		}
		.main_site2_form_body:hover{
		
			background:#F2F9FD;
			
		}
		.main_site2_form_body  .put1{
			margin-left:20px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
		}
		.main_site2_form_body  .put2{
			width:40px;
			height:40px;
			margin-left:30px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
				
		}
		.main_site2_form_body  .put3{
			width:120px;
			height:40px;
			margin-left:40px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
				
		}
		.main_site2_form_body  .put4{
			width:160px;
			height:40px;
			margin-left:20px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
				
		}
		.main_site2_form_body  .put5{
			width:220px;
			height:40px;
			margin-left:35px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
				
		}
		.main_site2_form_body  .put6{
			width:220px;
			height:40px;
			margin-left:45px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
		}
		.main_site2_form_body  input:hover{
			border:1px #09C solid;
		}
		.main_site2_form_btn{
			/* width:1000px; */
			width:100%;
			height:50px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			margin-bottom:80px;
		}
		.main_site2_form_btn input{
			
			width:50px;
			height:25px;
			background:#7B68EE;
			color:#fff;
			font-size:14px;
			float:left;
			margin-top:10px;
			margin-left:20px;
		}
		.main_site2_form_btn  .btn{
			margin-left:50px;
		}
	</style>

	<body>
		<!-- 操作主体  a_head_main-->
		<div class="a_head_main">
			<div class="main_site1_head">链接回收站</div>
			
			<div class="main_site1_head2">&nbsp;当前共有 {$countLink2} 条记录</div>	
			
			<!-- 没有数据时, 隐藏按钮 -->
			{if $countLink2}

			<!-- 头部 -->
			<div class="main_site2_form_head clearFix">
				
				<div class="div1">显示顺序</div>
				<div class="div2">站点名称</div>
				<div class="div3">站点 URL</div>
				<div class="div4">文字说明(可选)</div>
				<div class="div5">logo 地址(可选)</div>
			</div>
	
			<!-- form表单 -->
			<form action="{$webSite}admin/admin/admin_site3.php" method="post" enctype="multipart/form-data">

			<!-- foreach循环遍历处 -->
			{if $resLink}
			{foreach $resLink as $valLink}
				{if $valLink['isdel'] == 1}
			<div class="main_site2_form_body clearFix">
				
				<div class="put1">
					<input type="checkbox" name="arr[{$valLink['lid']}]" value="{$valLink['lid']}">
				</div>

				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<div class="put2">{$valLink['displayorder']}</div>

				<div class="put3" >{$valLink['name']}</div>
			
				<div class="put4" >{$valLink['url']}</div>
			
				<div class="put5" >{$valLink['description']}</div>
				
				<div class="put6" >{$valLink['logo']}</div>
			</div>
				{/if}
			{/foreach}
			{/if}

			
			<div  class="main_site2_form_btn">
				<input class="btn" type="submit" name="linkBtn" value="删 除">
				<input class="btn" type="submit" name="linkBtn" value="恢 复">
			</div>
			{else}
			<div  class="main_site2_form_btn">
					<div style="color:red; font-size:2rem;text-align:center;">该页面暂无数据</div>	
			</div>
			{/if}

			</form>

		</div>
	</body>
</html>